﻿using AuApmt.Models.DbModels.Abstraction;
using System.ComponentModel.DataAnnotations;

namespace AuApmt.Models.DbModels
{
    public class Client : IDbModel
    {
        public int Id { get; set; }
        [MaxLength(64)]
        public required string OpenId { get; set; }
        [MaxLength(16)]
        public string? Name { get; set; }
        [MaxLength(16)]
        public string? Tel { get; set; }
        [MaxLength(64)]
        public string? RemarkSelf { get; set; }
        [MaxLength(64)]
        public string? RemarkByStaff { get; set; }
        public DateTime LastActive { get; set; }
        public bool Deleted { get; set; }
    }
}
